ááááááááááCompress
ááááááááááProperty
ááááááááááMemberáof áRSConvert.DBF

áDescriptioná
Compress method or command line to real-time compress output file.
áSyntaxá
vCompress = DBF.Compress
DBF.Compress = vCompress
áReturnsá
String
áRemarksá

Predefined values :

Zero length string - no compress
1 - pkzip, pkzip.exe -a <output> <input>
2 - arj, arj.exe a -e <output> <input>

áExamplesá
Compress outgoing file by PKZIP.EXEá
  'Create RecordSet and DBF objects
  Set ADORS = CreateObject("ADODB.Recordset")
  Set DBF = CreateObject("RSConvert.DBF")
  
  ADORS.Open "Payments", "DSN=ADOSamples"
  
  DBF.Compress = 1
  'Write zipped DBF file to the client 
  Response.BinaryWrite DBF.GetFile(ADORS)
áMethods of DBFá
GetFile, SaveRS
áProperties of DBFá
Compress, CurrencyDecimal, CurrencyWidth, DoubleDecimal, DoubleWidth, IntegerWidth, LongVarCharWidth, RowCount, SingleDecimal, SingleWidth, TempDirectory

⌐ 1996 û 1998 PSTRUH Software, help@pstruh.cz